package ldh.im.rpc.connection.handle;

import ldh.im.rpc.connection.RpcCallback;

import java.util.concurrent.CompletableFuture;

/**
 * 消息缓存队列
 */
public interface MessageCallback {

    void addRpcFuture(String seq, CompletableFuture future);

    void addRpcFuture(String seq, RpcCallback rpcCallback);
}
